package com.sq.partner.manager.dao;

import java.util.List;
import java.util.Map;

import com.sq.partner.manager.mybatis.model.GatewayVatRate;
import com.sq.partner.manager.mybatis.model.VatFromDto;
import com.sq.partner.manager.util.Page;

public interface IGatewayVatDao{
	public Map <String ,VatFromDto>  queryFromVat();
	/***
	 * 从VMS查询所有的税率信息
	 * **/
	public List <Object[]>   queryListObjectsFromVat() throws Exception;
	public GatewayVatRate  queryToVat(GatewayVatRate gatewayVatRate) throws Exception;
	public boolean  updateVat(GatewayVatRate gatewayVatRate) throws Exception;
	public boolean  addVat(GatewayVatRate gatewayVatRate) throws Exception;
	public Page queryPage(Page page);
	public VatFromDto querySingleFromVat(GatewayVatRate gatewayVatRate);
	public boolean BatchInsertVatRate(List<Object[]> params) throws Exception;
	public boolean DelOldVatAndCopyNewVatRate() throws Exception;

}
